﻿<!DOCTYPE
    html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <link href="css/style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/jquery-1.4.4.min.js" ></script>
    <script type="text/javascript" src="js/Rajon.js"></script>            
    
</head>
<body>
    <div id="detail" rajon:datacontext="OrderService/Orders/1" >
        OrderNumber: <span rajon:bind="model.OrderNumber#i"></span><br />
        Client: <span rajon:bind="model.ClientName"></span><br />                    

        <table >
            <thead>
            <tr>
                <td>Product</td>
                <td>Price</td>
                <td>Quantity</td>        
            </tr>
            </thead>
            <tbody id="items" rajon:datacontext=">.model.Items">
                
                <tr rajon:isitemview="true">
                    <td><span rajon:bind="model.Product"></span></td>
                    <td><span rajon:bind="model.ItemPrice#f"></span></td>
                    <td><span rajon:bind="model.Quantity"></span></td>            
                </tr>
                
            </tbody>
        </table>
    </div>

    <h1 rajon:datacontext=">detail.model" rajon:bind="model.ClientName"></h1>
    

</body>

</html>
